<?php require_once('ApiConfig.php'); ?>
<html>
    <head>
        <title>Shiporder API - RateServices - XML Test Form</title>
    </head>
    <body>
        <form method="post" target="_blank" action="<?php echo BASEURL; ?>exec/RateServices.php">
            <table width="640" align="center" border="0">
                <tr>
                    <th>Shiporder API - RateServices - XML Test Form</th>
                </tr>
                <tr>
                    <td>Make additions and/or changes to elements below, or submit as is</td>
                </tr>
                <tr>
                    <td><textarea name="RateRequestXML" cols="80" rows="25">&lt;RateRequest&gt;
 &lt;Username&gt;api_user@example.com&lt;/Username&gt;
 &lt;Password&gt;yourpassword&lt;/Password&gt;
 &lt;Order id=&quot;12579&quot;&gt;
  &lt;Warehouse&gt;0&lt;/Warehouse&gt;
  &lt;AddressInfo type=&quot;ship&quot;&gt;
   &lt;Address1&gt;321 Foo bar lane&lt;/Address1&gt;
   &lt;Address2&gt;Apartment #2&lt;/Address2&gt;
   &lt;City&gt;Nowhere&lt;/City&gt;
   &lt;State&gt;CA&lt;/State&gt;
   &lt;Country&gt;US&lt;/Country&gt;
   &lt;Zip&gt;12345&lt;/Zip&gt;
  &lt;/AddressInfo&gt;
  &lt;Item num=&quot;0&quot;&gt;
   &lt;Code&gt;12345&lt;/Code&gt;
   &lt;Quantity&gt;1&lt;/Quantity&gt;
  &lt;/Item&gt;
 &lt;/Order&gt;
&lt;/RateRequest&gt;</textarea></td>
                </tr>
                <tr>
                    <td><input size="40" value="Send Test" type="submit" /></td>
                </tr>
            </table>
        </form>
    </body>
</html>
